import Vue from 'vue'
import App from './App.vue'

// 轮播图
import VueAwesomeSwiper from "vue-awesome-swiper";
Vue.use(VueAwesomeSwiper);
import "swiper/dist/css/swiper.css";

// css 重置样式表
import "styles/reset.css";
import "styles/border.css";

// iconfont
import "styles/iconfont.css";

// mock 模拟数据
import "./mock/index.js";
import "./mock/city.js";
import "./mock/detail.js";

// axios 数据发送
import axios from "axios";

// router 路由
import router from "@/router/router.js";

// vuex 数据仓库
import store from "./store/store.js";

Vue.prototype.$axios = axios;

Vue.config.productionTip = false;

new Vue({  
  beforeCreate(){
    Vue.prototype.$bus = this;
  },
  render: h => h(App),
  router: router,
  store: store,
}).$mount('#app')
